﻿using System;
using Microsoft.AspNetCore.Builder;

namespace Quantum.RabbitMq
{
    public static class RabbitMqExtensions
    {
        public static IApplicationBuilder UseRabbitMq(this IApplicationBuilder app, Action<RabbitMqReplierBuilder> configure)
        {
            configure(new RabbitMqReplierBuilder());
            return app;
        }
    }
}
